﻿// --------------------------------------------------------------------------------------------------------------------
//  <copyright file="App.xaml.cs" Authors = "Congo & DRC Communities">
//    Copyright (c) 2012 Congo & DRC Communities. All rights reserved.
//  </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace healthcaremanager
{
    using System.Windows;
    using Catel.Windows;

    /// <summary>
    ///   Interaction logic for App.xaml
    /// </summary>
    public partial class App
    {
        /// <summary>
        ///   Raises the <see cref="E:System.Windows.Application.Startup" /> event.
        /// </summary>
        /// <param name="e"> A <see cref="T:System.Windows.StartupEventArgs" /> that contains the event data. </param>
        protected override void OnStartup(StartupEventArgs e)
        {
            StyleHelper.CreateStyleForwardersForDefaultStyles();

            // TODO: Using a custom IoC container like Unity? Register it here:
            // Catel.IoC.ServiceLocator.Instance.RegisterExternalContainer(MyUnityContainer);

            base.OnStartup(e);
        }
    }
}